package com.design.mode.chp01;

public class SingleModeLazy {

    private static SingleModeLazy instance = null;

    private SingleModeLazy(){}

    public synchronized static SingleModeLazy getInstance(){
        if(null == instance){
            instance = new SingleModeLazy();
        }
        return instance;
    }

}
